Optimal. Leaf size=159 \[ \frac{\left (a e^2+c d^2+2 c d e x\right ) \sqrt{x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{4 c d e}-\frac{\left (c d^2-a e^2\right )^2 \tanh ^{-1}\left (\frac{a e^2+c d^2+2 c d e x}{2 \sqrt{c} \sqrt{d} \sqrt{e} \sqrt{x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{8 c^{3/2} d^{3/2} e^{3/2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.140573, antiderivative size = 159, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.103 \[ \frac{\left (a e^2+c d^2+2 c d e x\right ) \sqrt{x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{4 c d e}-\frac{\left (c d^2-a e^2\right )^2 \tanh ^{-1}\left (\frac{a e^2+c d^2+2 c d e x}{2 \sqrt{c} \sqrt{d} \sqrt{e} \sqrt{x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{8 c^{3/2} d^{3/2} e^{3/2}} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 14.9718, size = 148, normalized size = 0.93 \[ \frac{\left (a e^{2} + c d^{2} + 2 c d e x\right ) \sqrt{a d e + c d e x^{2} + x \left (a e^{2} + c d^{2}\right )}}{4 c d e} - \frac{\left (a e^{2} - c d^{2}\right )^{2} \operatorname{atanh}{\left (\frac{a e^{2} + c d^{2} + 2 c d e x}{2 \sqrt{c} \sqrt{d} \sqrt{e} \sqrt{a d e + c d e x^{2} + x \left (a e^{2} + c d^{2}\right )}} \right )}}{8 c^{\frac{3}{2}} d^{\frac{3}{2}} e^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.181649, size = 148, normalized size = 0.93 \[ \frac{1}{8} \sqrt{(d+e x) (a e+c d x)} \left (-\frac{\left (c d^2-a e^2\right )^2 \log \left (2 \sqrt{c} \sqrt{d} \sqrt{e} \sqrt{d+e x} \sqrt{a e+c d x}+a e^2+c d (d+2 e x)\right )}{c^{3/2} d^{3/2} e^{3/2} \sqrt{d+e x} \sqrt{a e+c d x}}+\frac{2 a e}{c d}+\frac{2 d}{e}+4 x\right ) \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 265, normalized size = 1.7 \[{\frac{2\,cdex+a{e}^{2}+c{d}^{2}}{4\,dec}\sqrt{aed+ \left ( a{e}^{2}+c{d}^{2} \right ) x+cde{x}^{2}}}-{\frac{{a}^{2}{e}^{3}}{8\,cd}\ln \left ({1 \left ({\frac{a{e}^{2}}{2}}+{\frac{c{d}^{2}}{2}}+cdex \right ){\frac{1}{\sqrt{dec}}}}+\sqrt{aed+ \left ( a{e}^{2}+c{d}^{2} \right ) x+cde{x}^{2}} \right ){\frac{1}{\sqrt{dec}}}}+{\frac{aed}{4}\ln \left ({1 \left ({\frac{a{e}^{2}}{2}}+{\frac{c{d}^{2}}{2}}+cdex \right ){\frac{1}{\sqrt{dec}}}}+\sqrt{aed+ \left ( a{e}^{2}+c{d}^{2} \right ) x+cde{x}^{2}} \right ){\frac{1}{\sqrt{dec}}}}-{\frac{c{d}^{3}}{8\,e}\ln \left ({1 \left ({\frac{a{e}^{2}}{2}}+{\frac{c{d}^{2}}{2}}+cdex \right ){\frac{1}{\sqrt{dec}}}}+\sqrt{aed+ \left ( a{e}^{2}+c{d}^{2} \right ) x+cde{x}^{2}} \right ){\frac{1}{\sqrt{dec}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a*e*d+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.228426, size = 1, normalized size = 0.01 \[ \left [\frac{4 \, \sqrt{c d e x^{2} + a d e +{\left (c d^{2} + a e^{2}\right )} x}{\left (2 \, c d e x + c d^{2} + a e^{2}\right )} \sqrt{c d e} +{\left (c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \log \left (-4 \,{\left (2 \, c^{2} d^{2} e^{2} x + c^{2} d^{3} e + a c d e^{3}\right )} \sqrt{c d e x^{2} + a d e +{\left (c d^{2} + a e^{2}\right )} x} +{\left (8 \, c^{2} d^{2} e^{2} x^{2} + c^{2} d^{4} + 6 \, a c d^{2} e^{2} + a^{2} e^{4} + 8 \,{\left (c^{2} d^{3} e + a c d e^{3}\right )} x\right )} \sqrt{c d e}\right )}{16 \, \sqrt{c d e} c d e}, \frac{2 \, \sqrt{c d e x^{2} + a d e +{\left (c d^{2} + a e^{2}\right )} x}{\left (2 \, c d e x + c d^{2} + a e^{2}\right )} \sqrt{-c d e} -{\left (c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \arctan \left (\frac{{\left (2 \, c d e x + c d^{2} + a e^{2}\right )} \sqrt{-c d e}}{2 \, \sqrt{c d e x^{2} + a d e +{\left (c d^{2} + a e^{2}\right )} x} c d e}\right )}{8 \, \sqrt{-c d e} c d e}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \sqrt{a d e + c d e x^{2} + x \left (a e^{2} + c d^{2}\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.235609, size = 219, normalized size = 1.38 \[ \frac{1}{4} \, \sqrt{c d x^{2} e + c d^{2} x + a x e^{2} + a d e}{\left (2 \, x + \frac{{\left (c d^{2} + a e^{2}\right )} e^{\left (-1\right )}}{c d}\right )} + \frac{{\left (c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \sqrt{c d} e^{\left (-\frac{3}{2}\right )}{\rm ln}\left ({\left | -\sqrt{c d} c d^{2} e^{\frac{1}{2}} - 2 \,{\left (\sqrt{c d} x e^{\frac{1}{2}} - \sqrt{c d x^{2} e + c d^{2} x + a x e^{2} + a d e}\right )} c d e - \sqrt{c d} a e^{\frac{5}{2}} \right |}\right )}{8 \, c^{2} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x),x, algorithm="giac")
[Out]